﻿using System;

namespace G.Model
{
    public class GameEventDef : IEquatable<GameEventDef>
    {

        public GameEventDef()
        {
            Name = "Event";
        }

        public GameEventDef(string pName)
        {
            Name = pName;
        }

        public string Name
        {
            get;
            set;
        }

        public bool Display
        {
            get;
            set;
        }

        public bool Equals(GameEventDef def)
        {
            return (Name == def.Name);
        }

        public GameEventDef Copy()
        {
            return (GameEventDef)base.MemberwiseClone();
        }

        public override string ToString()
        {
            return "" + Name;
        }

    }
}
